package org.edu.modules.sxjy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author leidq
 * @create 2022-04-08 12:02
 */
@TableName("ve_stu_health_report")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "体质健康记录对象", description = "ve_stu_health_report")
public class VeStuHealthReport extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableField
    @ApiModelProperty("学生Id")
    private Integer stuId;
    @TableField
    @ApiModelProperty("开始时间")
    @JsonFormat(timezone = "GMT+8", locale = "zh", pattern = "yyyy-MM-dd")
    private Date startTime;
    @TableField
    @ApiModelProperty("结束时间")
    @JsonFormat(timezone = "GMT+8", locale = "zh", pattern = "yyyy-MM-dd")
    private Date endTime;
    @TableField
    @ApiModelProperty("健康体质得分")
    private Integer score;
}
